Hi Help Team, I want to read one clips file from my C#.NET application.
Below is sample code.
;; Convenience fact for FlashPoint <= 100F (defrule FP100FOrLessRule (or (flashPointCode -100L) (flashPointCode -73L) (flashPointCode -20L)) => (assert (FP100FOrLessBool)))
;; Convenience fact for FlashPoint <= 140F (defrule FP140FOrLessRule (or (FP100FOrLessBool) (flashPointCode +100L)) => (assert (FP140FOrLessBool)))
;; Convenience fact for FlashPoint <= 200F (defrule FP200FOrLessRule (or (FP100FOrLessBool) (flashPointCode +100L) (flashPointCode +140L)) => (assert (FP200FOrLessBool)))
(defrule ruleEUSubstanceRule (and (SDSArchetypeEnum EU) (isNonPreparationBool) (not (isDangerous Y))) => (assert (EUsubstanceSDSBool)))
Can you please provide some code based on my input or assets i wanna get some output from this file. Thanks in advance.
Regards, Vivek.Y
Log in to post a comment.
Hi Help Team,
I want to read one clips file from my C#.NET application.
Below is sample code.
;; Convenience fact for FlashPoint <= 100F
(defrule FP100FOrLessRule
(or (flashPointCode -100L)
(flashPointCode -73L)
(flashPointCode -20L))
=>
(assert (FP100FOrLessBool)))
;; Convenience fact for FlashPoint <= 140F
(defrule FP140FOrLessRule
(or (FP100FOrLessBool)
(flashPointCode +100L))
=>
(assert (FP140FOrLessBool)))
;; Convenience fact for FlashPoint <= 200F
(defrule FP200FOrLessRule
(or (FP100FOrLessBool)
(flashPointCode +100L)
(flashPointCode +140L))
=>
(assert (FP200FOrLessBool)))
(defrule ruleEUSubstanceRule
(and (SDSArchetypeEnum EU)
(isNonPreparationBool)
(not (isDangerous Y)))
=>
(assert (EUsubstanceSDSBool)))
Can you please provide some code based on my input or assets i wanna get some output from this file.
Thanks in advance.
Regards,
Vivek.Y