public static byte[] SetWeather(byte[] weathers) { if (Runtime.CheckWitness(Owner)) { RW.SaveWeathers(weathers); return(NuTP.RespDataSuccess()); } else { return(NuTP.RespDataWithCode(NuTP.SysDom, NuTP.Code.Forbidden)); } }
public static byte[] SetWeather(byte[] weathers) { if (Runtime.CheckWitness(Owner)) { RW.SaveWeathers(weathers); return(NuTP.RespDataSuccess()); } else { return(NuTP.RespDataWithCode(NuTP.SysDom, NuTP.Code.Forbidden)); } }